package com.example.demo.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Articleinfo implements Serializable {
    private final long SerializableId=1L;

    private int id;
    private String title;
    private String content;
    private LocalDateTime createtime;
    private LocalDateTime updatetime;
    private int uid;
    private int rcount;
    private int state;
//    private Integer id;
//    private String title;
//    private String content;
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//    private LocalDateTime createtime;
//    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
//    private LocalDateTime updatetime;
//    private Integer uid;
//    private Integer rcount;
//    private Integer state;
}
